﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CloudStorageLight.Web.Models
{
    public static class FileUrlUtil
    {
        public static string EncodeFileUrl(string url)
        {
            return string.Join("/", url.Split('/').Select(x => Uri.EscapeDataString(x)));
            
        }
    }
}